package cas.ihep.pwa.evtgen;

import java.io.Serializable;
import java.util.ArrayList;

public class EvtPartProp implements Serializable {

    EvtAbsLineShape lineShape;
    ArrayList<String> vstrs;
    ArrayList<Double> vpars,vres;
    String name,lstype;
    EvtId id,idchgconj;
    EvtSpinType.SpinType spintype;
    double ctau;
    int chg3,stdhep,lundkc;

    public EvtPartProp(){
        vstrs=new ArrayList<>();
        vpars=new ArrayList<>();
        vres=new ArrayList<>();
    }

    public EvtPartProp duplicate(){
        EvtPartProp ret=new EvtPartProp();
        ret.lineShape=lineShape.duplicate();
        ret.vstrs=new ArrayList<>(vstrs);
        ret.vpars=new ArrayList<>(vpars);
        ret.vres=new ArrayList<>(vres);
        ret.name=name;
        ret.lstype=lstype;
        ret.id=id;
        ret.idchgconj=idchgconj;
        ret.spintype=spintype;
        ret.ctau=ctau;
        ret.chg3=chg3;
        ret.stdhep=stdhep;
        ret.lundkc=lundkc;
        return ret;
    }
}
